home *** CD-ROM | disk | FTP | other *** search
/ Holt Researcher: American History / Holt Researcher: American History.iso / pc / modules / alertwin.dxr / 00068_continue button.ls < prev    next >
Encoding:
Text File  |  2000-01-28  |  419 b   |  24 lines

  1. property ancestor
  2. global gAlertWin, gGraphWizard
  3.  
  4. on beginSprite me
  5.   spNum = me.spriteNum
  6.   spLoc = the loc of sprite spNum
  7.   ancestor = new(script("generic button"), "continue", "internal", spNum, spLoc, me)
  8.   Inscope(ancestor)
  9.   return me
  10. end
  11.  
  12. on exitFrame me
  13.   doRollover(ancestor)
  14. end
  15.  
  16. on mouseDown me
  17.   trackMouse(ancestor)
  18. end
  19.  
  20. on performFunction me
  21.   forget(window(gGraphWizard.pMIAW))
  22.   closeMe(gAlertWin)
  23. end
  24.